﻿<%@ Page Title="" Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeFile="product.aspx.cs" Inherits="product" %>
<%@ Register TagPrefix="yahoo" TagName="yahoo" Src="~/yahool.ascx" %>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="CollectionPager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
          
            <tbody><tr>
              <td height="40" style="padding-left:5px;"><table border="0" align="center" cellpadding="0" cellspacing="0">
                <tbody><tr>
                  <td><strong>Hỗ trợ trực tuyến:&nbsp;&nbsp;</strong></td>
                  <td>
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"><tbody><tr><yahoo:yahoo runat="server" /></tr></tbody></table></td>
                </tr>
              </tbody></table></td>
            </tr>
             
            
            <tr>
              <td><img src="images/space.gif" width="1" height="10"></td>
            </tr>
          </tbody></table>
  <%--        Hỗ trợ trực tuyến--%>
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody><tr>
    <td class="bgtitle">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tbody>
          <tr>
           <td>
             <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
             <tbody>
              <tr>
                <td width="20"><img src="./images/mui_ten.gif"></td>
                <td valign="bottom" class="title">
                    <a class="linkcat20"><asp:Label runat="server" ID="lblnhomtincha"></asp:Label></a>
                        <img src="images/linev2.jpg">
                    <a class="linkcat20"><asp:Label runat="server" ID="lblnhomtincon"></asp:Label></a>
                </td>
                <td width="10" valign="bottom">&nbsp;</td>
            </tr>
          </tbody>
         </table>
         </td>
       </tr>
    </tbody>
  </table>
    </td>
  </tr>
  <tr>
    <td valign="top"><img src="images/space.gif" width="1" height="10"></td>
  </tr>
</tbody>
</table>
<%--sản phẩm--%>
<table border='0' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td colspan="3" align="left">
<asp:Repeater runat="server" ID="rpt_san_pham_ban_chay">
    <ItemTemplate>
    <table width='260' border='0' cellpadding='0' cellspacing='0' style="float: left">
				  <tr><td>
					  <table width='100%' border='0' cellspacing='0' cellpadding='0'>
						<tr>
						  <td width='11'><img src='images/tbl_pro1.jpg' width='11' height='11'></td>
						  <td background='images/tbl_pro2.jpg'><img src='images/tbl_pro2.jpg' width='1' height='11'></td>
						  <td width='11'><img src='images/tbl_pro3.jpg' width='11' height='11'></td>
						</tr>
					  </table></td>
				  </tr>
				  <tr>
					<td >
					  <table width='100%' border='0' cellspacing='0' cellpadding='0'>
					  <tr>
						  <td width='11' style='background-image:url(images/tbl_pro4.jpg); background-repeat:repeat-y; background-position:left top'>&nbsp;</td>
						  <td><img src='images/posts.gif'>&nbsp;<%--<a href='' class='linktitlebox'>Máy tính bảng</a> | <a href='' class='linktitlebox'>Archos</a>--%></td>
						  <td width='11' style='background-image:url(images/tbl_pro5.jpg); background-repeat:repeat-y; background-position:right top'>&nbsp;</td>
						</tr>
						<tr>
						  <td width='11' style='background-image:url(images/tbl_pro4.jpg); background-repeat:repeat-y; background-position:left top'>&nbsp;</td>
						  <td height='270'><div align='center'><table width='100' border='0' cellpadding='0' cellspacing='0' align='center'>
							  <tr>
								<td align='left'><A style='cursor:hand' href="Detail-Product.aspx?ma-san-pham=<%#Eval("ProductID") %>"> <img src='images/<%#Eval("Image") %>' width=180 height='260' BORDER=0> </A></td>
							  </tr></table></div></td>
						  <td width='11' style='background-image:url(images/tbl_pro5.jpg); background-repeat:repeat-y; background-position:right top'>&nbsp;</td>
						</tr>
						<tr>
						  <td width='11' style='background-image:url(images/tbl_pro4.jpg); background-repeat:repeat-y; background-position:left top'>&nbsp;</td>
						  <td height='50'><div align='center'><a style='cursor:hand' href="Detail-Product.aspx?ma-san-pham=<%#Eval("ProductID") %>" class='linkblack'><%#Eval("Name") %></a>  <br> <span class='fontred'><%#Eval("PriceOnline") %> VNĐ</span><br><span class='fontgreen'><%#ThuVien.Lib.ReplaceStringToShort(Eval("Km").ToString(),34)%></span></div></td>
						  <td width='11' style='background-image:url(images/tbl_pro5.jpg); background-repeat:repeat-y; background-position:right top'>&nbsp;</td>
						</tr>
					  </table>
                    </td>
				  </tr>
                  <tr>
                        <td>
						  <table width='100%' border='0' cellspacing='0' cellpadding='0'>
							<tr>
							  <td width='11'><img src='images/tbl_pro6.jpg' width='11' height='44'></td>
							  <td background='images/tbl_pro7.jpg' style='padding-bottom:3px'>
							  <table border='0' align='center' cellpadding='2' cellspacing='0'>
								<form style='margin:0'>
								<input type='hidden' name='idcth' value='901'>
								<input type='hidden' name='proname' value='Archos Arnova 7f G3'>
								<input type='hidden' name='price' value='3190000'>
								<input type='hidden' name='poids' value='0'>
								<input type='hidden' name='img' value='images/Archos-arnova-7f-G3.jpg'>
								  <tr>
									<td><a style='cursor:hand' href="Detail-Product.aspx?ma-san-pham=<%#Eval("ProductID") %>">
                                        <img src="images/but-detail.jpg" border="0"/>
                                    </a></td>
									<td width='2'><img src='images/space.gif' width='2'></td>
									<td>
                                       <asp:LinkButton runat="server" ID="ibt_buy" CommandName='<%#Eval("ProductID") %>' OnCommand="BuyClick"><img src="images/but-book.jpg"/></asp:LinkButton>
                                    </td>
								  </tr>
								  </form>
								</table>
							  </td>
							  <td width='11'><img src='images/tbl_pro8.jpg' width='11' height='44'></td>
							</tr>
						  </table>
                       </td>
				  </tr>
                  </table>
    </ItemTemplate>
</asp:Repeater>

 </td>
 </tr>
 <tr>
    <td colspan="3">
        <center>
                        
                        <cc1:CollectionPager ID="collect" runat="server"  ShowPageNumbers="True"
 
            LabelText="TRANG" PageSize="3" NextText="&gt;&gt;" LastText="Son" BackText="&lt;&lt;"
 
            FirstText="İlk" ResultsFormat="" ShowLabel="False"
        BackNextLocation="Split" HideOnSinglePage="True" MaxPages="10"
        PageNumbersDisplay="Numbers" PageNumberStyle="" ResultsLocation="Top"
        ShowFirstLast="False" UseSlider="True" BackNextLinkSeparator="."
        PagingMode="PostBack" ControlCssClass="colored-border:white;colorChooser:white"></cc1:CollectionPager>
                        </center>
    </td>
 </tr>


 
</table>
</asp:Content>

